package com.hx.hospital.service;
import com.hx.common.result.PageResult;
import com.hx.hospital.pojo.District;

import java.util.*;

/**
 * district业务逻辑层
 */
public interface DistrictService {


    public List<District> findAll();


    public PageResult<District> findPage(int page, int size);


    public List<District> findList(Map<String, Object> searchMap);


    public PageResult<District> findPage(Map<String, Object> searchMap, int page, int size);


    public District findById(Long id);

    public void add(District district);


    public void update(District district);


    public void delete(Long id);

}
